package com.commons.interfaces.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @PROJECT_NAME: SpringCloud_Study_atGuiGU
 * @NAME: ResponseData
 * @Author: lidongming
 * @DATE: 2022/2/6
 * @Desc:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResponseData<E> {
//zhuagn
    private Integer code;
    private String message;
    private Object data;
    public ResponseData(Integer code, String message){
        this.code = code;
        this.message = message;
    }
}
